<template>
    <div class="page prepare">
        <nav-bar title="店铺收款" @click-left="$router.back()"></nav-bar>
    </div>
</template>

<script>
import { mapState } from 'vuex';

export default {
    name: "Prepare",
    components: {},

    data() {
        return {
            show: false,
        }
    },

    methods: {

        // 返回按钮
        navBack() {
            this.$router.back();
        },

        // 跳转到
        navPushTo() {
            this.$router.push("/pageB");
        }
    },

    computed: {
        ...mapState({
            userRole: state => state.userRole,
        })
    },

};
</script>

<style lang="scss" scoped>
.prepare {
    width: 100%;
}
</style>
